
#ifndef		__TILESET_H
#define		__TILESET_H

#include <fstream>
#include <string>
#include <map>

class Tileset {
	
	private:
		std::map<std::string,int> tilesetMap;
		
		int tileSize;

		int tilesetWidth;
		int tilesetHeight;

	public:
		Tileset();

		bool loadTilesetDef(char* fileName);

		int getTile(char* tileName);

		int getTileSize(){ return tileSize; }
		int getTilesetWidth(){ return tilesetWidth; }
		int getTilesetHeight(){ return tilesetHeight; }

		void cleanup();
};

#endif

